package com.css.apps.base.menu.action;

import com.css.apps.base.menu.service.MenuService;
import com.css.core.model.IServiceResult;
import com.css.util.Ajax;
import com.css.webbase.webwork.action.AdminAction;

@SuppressWarnings("serial")
public class DelMenu extends AdminAction {
	
	private String ids;

	public String adminGo() {
		IServiceResult<?> res = MenuService.delMenu(ids);
		result = Ajax.JSONResult(res.getResultCode(), res.getResultDesc(), res.getResultObject());
		return res.toActionResult();
	}

	public String getIds() {
		return ids;
	}

	public void setIds(String ids) {
		this.ids = ids;
	}

}
